package cn.saas.stepview;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.inputmethod.EditorInfo;
import android.widget.EditText;

import java.util.ArrayList;

public class MainActivity extends AppCompatActivity {

    private String[] mTitles = new String[]{"aa","bb","vv","zz"};

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        StepView vFlow = (StepView) findViewById(R.id.sv);
        ItemView mEt = (ItemView) findViewById(R.id.iv);
//        mEt.getEdit().setInputType(EditorInfo.TYPE_CLASS_NUMBER);
        vFlow.setProgress(3, mTitles.length,mTitles, null);

    }

}